package com.qianfeng.smartplatform.mapper;

import com.qianfeng.smartplatform.pojo.DefaultRole;
import com.qianfeng.smartplatform.pojo.DefaultRoleExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DefaultRoleMapper {
    long countByExample(DefaultRoleExample example);

    int deleteByExample(DefaultRoleExample example);

    int deleteByPrimaryKey(Integer tId);

    int insert(DefaultRole record);

    int insertSelective(DefaultRole record);

    List<DefaultRole> selectByExample(DefaultRoleExample example);

    DefaultRole selectByPrimaryKey(Integer tId);

    int updateByExampleSelective(@Param("record") DefaultRole record, @Param("example") DefaultRoleExample example);

    int updateByExample(@Param("record") DefaultRole record, @Param("example") DefaultRoleExample example);

    int updateByPrimaryKeySelective(DefaultRole record);

    int updateByPrimaryKey(DefaultRole record);
}